package com.yuqing.myblogServe.dao.mapper;

import com.github.pagehelper.Page;
import com.yuqing.myblogServe.dao.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuqing
 * @since 2022-08-02
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<Long> getNavMenuIds(Long userId);

    List<SysUser> listByMenuId(Long menuId);

    String usernameById(Long id);


}
